package com.shruijin.wy.thread.ctrl;


import com.shruijin.wy.thread.tl.RequestThreadLocalObject;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping(value = "/threadtest")
public class ThreadCtrl {

    @GetMapping("/v1/test")
    @ResponseBody
    public String testThread(){
        return RequestThreadLocalObject.get().toString();
    }

}
